import { Entity, Column } from 'typeorm';
import { BaseEntity } from './baseEntity';

/**
 * @description: 抖音
 */

@Entity()
export class TTiktok extends BaseEntity {
  @Column({ type: 'varchar', length: 255, name: 'title', comment: '名称' })
  title: string;

  @Column({
    type: 'varchar',
    length: 255,
    name: 'cover',
    comment: '封面',
    nullable: true,
  })
  cover: string;

  @Column({
    type: 'varchar',
    length: 255,
    name: 'link',
    comment: '跳转地址',
    nullable: true,
  })
  link: string;

  @Column({
    type: 'varchar',
    length: 255,
    name: 'tags',
    comment: '标签',
    nullable: true,
  })
  tags: string;
}
